Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project-survey-bench-press #455

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

project-survey-bench-press #455

wants to merge 21 commits into from

Conversation

akipeki
Copy link

@akipeki akipeki commented Mar 20, 2023

No description provided.

-->
<title>Technigo React App</title>
<meta property="og:title" content="Big Dada's Gym">
<meta property="og:description" content="We do the Math - You lift">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job with the og-tags here Peki!

return (
<div>
Find me in src/app.js!
<div className="gym_app_container">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice structure! It's easy to follow what happens in the different steps.

@@ -0,0 +1,50 @@
import React from 'react';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is impressive Peki! Its easy to follow what happens with the 3 props in the 4 calculations. Even thou my math / workout skills aren't there I understand the results part :)

{step < 4 && (
<div className="button_container">
{/* <p>Current step: {step}</p> */}
<button className="button-next" type="button" onClick={handleStepIncrease}>Next</button>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I think you could insert a conditional in the button that says something like: ? step === 4 : ' Submit' then the button text change to submit. But maybe this is a design dicision.

Copy link

@PerErikAndreas PerErikAndreas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello Peki!
First of all, great work with this project. It was uplifting seeing someone making something else then a regular question survey. Here the user actually gets useful information right away :).

Review:
The page showes up properly and do not crash or act strange in any situation that I could see. The requirements was to have at least 3 questions, use radiobuttons, dropdowns, and a submitbutton and you have that (I left a thought about the submit button in the code).

The code is well-structured and easy to follow what happens in the steps.
Nice and inspiring work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants